package com.nutricia.biz.impl;

import com.nutricia.common.lang.ServiceExecuteTemplate;
import com.nutricia.core.service.GetAccessTokenService;
import com.nutricia.core.service.MainInterfaceService;
import com.nutricia.core.service.MeetingService;
import com.nutricia.core.service.MeetingSignUpService;
import com.nutricia.core.service.SystemMenuService;
import com.nutricia.core.service.SystemPermissionService;
import com.nutricia.core.service.SystemRoleService;
import com.nutricia.core.service.SystemUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 抽象门面基类
 *
 * @author: huangsheng
 * @date: 2017/10/19 上午11:04
 */
public abstract class AbstractFacadeImpl {

    /**
     * 业务执行模板
     */
    @Autowired
    protected ServiceExecuteTemplate serviceExecuteTemplate;

    /**
     * 系统用户
     */
    @Autowired
    protected SystemUserService systemUserService;

    /**
     * 系统菜单
     */
    @Autowired
    protected SystemMenuService systemMenuService;

    /**
     * 系统角色
     */
    @Autowired
    protected SystemRoleService systemRoleService;

    /**
    * 系统权限
     */
    @Autowired
    protected SystemPermissionService systemPermissionService;
    
    /**
     * 会议service
     */
    @Autowired
    protected MeetingService meetingService;
    
    /**
     * 主界面service
     */
    @Autowired
    protected MainInterfaceService mainInterfaceService;
    
    /**
     * 会议报名service
     */
    @Autowired
    protected MeetingSignUpService meetingSignUpService;
    
    /**
     * 获取数据库token service
     */
    @Autowired
    protected GetAccessTokenService getAccessTokenService;
    
    /**
     * 系统日志对象
     */
    protected final Logger logger = LoggerFactory.getLogger(getClass());

}
